wayland: Be more careful about scale-factor
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Apr 2023 17:23:19 +0000 (13:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 2 Apr 2023 17:23:19 +0000 (13:23 -0400)
commit5e95c2284451f646ec6fd3ae286848d08f2b01f8
tree5fa321e7344d2776094292357ce6066abca34064
parent70269a5aee61674ba9f8d2ae16950d1e7bb2ec5e
wayland: Be more careful about scale-factor

Only emit notify::scale-factor if it actually
changes. This potentially avoids a lot of work
in GTK (reloading icons, etc).
gdk/wayland/gdksurface-wayland.c